home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5904 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.nstn.ca!news
  2. From: keichele@ac.dal.ca (Klaus Eichele)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: LPCREATESTRUCT
  5. Date: Wed, 07 Feb 1996 16:47:24 GMT
  6. Organization: Dalhousie University
  7. Message-ID: <4fa72b$1pb@news.nstn.ca>
  8. References: <4f8qum$cck@guitar.sound.net>
  9. NNTP-Posting-Host: rewasylishen.chem.dal.ca
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. chris@sound.net (chris) wrote:
  13.  
  14. >I am unable to determine what lpcreatestruct in doing in the following
  15. >line of code.  It is in a windows procedure, within the code that is
  16. >executed during the processing of the wm_create message.
  17.  
  18. >hInstance = ((LPCRETESTRUCT) lParam) -> hInstance;
  19.  
  20. >If you can point me in the right direction, I would appreciate it.
  21. >Also, do you know where I might find this in the online documentation
  22. >for the Borland Compiler (version 4.2).
  23.  
  24. >Thank You,
  25.  
  26. >chris@sound.net
  27.  
  28. Hi,
  29. the prefix LP indicates that you are dealing with a far pointer, in
  30. this case to a CREATESTRUCT, a structure containing basically the
  31. information passed in a CreateWindow() call. If you search the online
  32. documentation for WM_CREATE or CREATESTRUCT, you should be able to
  33. find more info.
  34.  
  35. P.S. comp.os.ms-windows.programmer.*   (*= controls or misc) would be
  36. a more appropriate newsgroup for Windows related questions.
  37.  
  38. Good Luck,
  39. Klaus
  40.  
  41.  
  42. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  43. Klaus Eichele         keichele@ac.dal.ca  
  44. http://ac.dal.ca/~keichele/keichele.html
  45.  
  46.